//void, Obj owner
Unit this, u;

this = owner.AsUnit();

if (!.IsValid) return;

if(!.InHolder){
	Sleep(rand(100)+100);
	u = Place("DLleldoryn", .pos+Point(rand(120)+20, rand(120)+20), .player);

	if(u.IsValid){
		u.SetLevel(40);
		u.AddBonus(0,0,0,20,0); 
		u.AddCommand(true, "heal", .posRH);
		CreateFeedback("Lightning", u);
		ItemUsed(1);
	}
} else {
	Sleep(2000);
}